﻿using Entity.Models.dto;
using Entity.Models.Entities;
using Entity.Models.vo;
using Entity.Models.vo.Menu;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;

namespace IBLL
{
    /// <summary>
    /// 工作流模板BLL接口
    /// </summary>
    public interface IWorkFlow_ModelBLL
    {

        /// <summary>
        /// 工作流模板列表、搜索
        /// </summary>
        /// <param name="WorkFlow_ModelName">工作流模板名称</param>
        /// <param name="page">页数</param>
        /// <param name="limit">数据条数</param>
        /// <returns></returns>
        public List<WorkFlow_ModelDTO> getworkFlow_ModelList(string WorkFlow_ModelName, string page, string limit, out int cont);

        /// <summary>
        /// 添加工作流模板
        /// </summary>
        /// <param name="workFlow_Model"></param>
        /// <returns></returns>
        bool AddWorkFlow_Model(WorkFlow_Model workFlow_Model);

        /// <summary>
        /// 删除工作流模板
        /// </summary>
        /// <param name="workFlow_ModelId"></param>
        /// <returns></returns>
        bool DalateWorkFlow_Model(string workFlow_ModelId);

        /// <summary>
        /// 批量删除
        /// </summary>
        /// <param name="workFlow_ModelIds">工作流模板id</param>
        /// <returns></returns>
        bool DalateWorkFlow_ModelList(List<String> workFlow_ModelIds);

        /// <summary>
        /// 修改工作流模板信息
        /// </summary>
        /// <param name="workFlow_Model"></param>
        /// <returns></returns>
        bool UpdataWorkFlow_Model(WorkFlow_Model workFlow_Model);

        /// <summary>
        /// 根据工作流模板id搜索
        /// </summary>
        /// <param name="workFlow_Modelid">工作流模板id</param>
        /// <returns></returns>
        WorkFlow_Model getByWorkFlow_Model(string workFlow_Modelid);

        /// <summary>
        /// 工作流模板下拉框
        /// </summary>
        /// <returns></returns>
        List<TransferVo> getWorkFlow_ModelSelect();

    }
}
